<?php slot('article')?>
<div class="whitepage">
	<p class="txtstyle4"><?php echo __('otsingu tulemused') ?>: "<strong><?php echo $keyword ?></strong>"</p>
	<p>&nbsp;</p>
	<?php
		$links = LinkGen::getInstance(LinkGen::PRODUCT)->collectionLinks($products);
	?>
	<?php foreach($products as $item): ?>
		• <a class="otsingutulemus" href="<?php echo $links[$item['id']] ?>"><?php echo $item['name'] ?></a>
		<br>
	<?php endforeach; ?>
	<?php
		$links = LinkGen::getInstance(LinkGen::NEWS)->collectionLinks($news);
	?>
	<?php foreach($news as $item): ?>
	• <a class="otsingutulemus" href="<?php echo $links[$item['id']] ?>"><?php echo $item['name'] ?></a>
	<br>
	<?php endforeach; ?>


	<?php foreach($nodes as $item): ?>
	• <a class="otsingutulemus" href="<?php echo LinkGen::getInstance(LinkGen::STRUCTURE)->link($item['id']) ?>"><?php echo $item['title'] ?></a>
	<br>
	<?php endforeach; ?>
	
	<p>&nbsp;</p>
	<p><a href="javascript:history.go(-1)"><?php echo __('tagasi') ?></a><br>
	</p>
</div>
<?php end_slot()?>